#include <vtkConeSource.h>
#include <vtkPolyDataMapper.h>
#include <vtkRenderWindow.h>
#include <vtkRenderWindowInteractor.h>
#include <vtkCamera.h>
#include <vtkActor.h>
#include <vtkRenderer.h>
#include <vtkProperty.h>

/*int main (void)
{

	vtkConeSource *cone = vtkConeSource::New();
	cone->SetHeight( 4.0 );
	cone->SetRadius( 1.0 );
	cone->SetResolution( 8 );

	vtkPolyDataMapper *coneMapper = vtkPolyDataMapper::New();
	coneMapper->SetInputConnection( cone->GetOutputPort() );

	vtkActor *coneActor = vtkActor::New();
	coneActor->SetMapper( coneMapper );

	vtkRenderer *ren1= vtkRenderer::New();
	ren1->AddActor( coneActor );
	ren1->SetBackground( 0, 0, 0 );

	vtkRenderWindow *renWin = vtkRenderWindow::New();
	renWin->AddRenderer( ren1 );
	renWin->SetSize( 300, 300 );
	while(true)renWin->Render();

	cone->Delete();
	coneMapper->Delete();
	coneActor->Delete();
	ren1->Delete();
	renWin->Delete();

	return 0;
}
*/